package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 qt_option
 * 
 * @author ruoyi
 * @date 2021-11-17
 */
public class QtOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String optionId;

    /** 题库id */
    @Excel(name = "题库id")
    private String tkId;

    /** 选项内容 */
    @Excel(name = "选项内容")
    private String optionName;

    /** $column.columnComment */
    @Excel(name = "选项内容")
    private String optionStr;

    /** $column.columnComment */
    @Excel(name = "选项内容")
    private Long optionInt;

    public void setOptionId(String optionId) 
    {
        this.optionId = optionId;
    }

    public String getOptionId() 
    {
        return optionId;
    }
    public void setTkId(String tkId) 
    {
        this.tkId = tkId;
    }

    public String getTkId() 
    {
        return tkId;
    }
    public void setOptionName(String optionName) 
    {
        this.optionName = optionName;
    }

    public String getOptionName() 
    {
        return optionName;
    }
    public void setOptionStr(String optionStr) 
    {
        this.optionStr = optionStr;
    }

    public String getOptionStr() 
    {
        return optionStr;
    }
    public void setOptionInt(Long optionInt) 
    {
        this.optionInt = optionInt;
    }

    public Long getOptionInt() 
    {
        return optionInt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("optionId", getOptionId())
            .append("tkId", getTkId())
            .append("optionName", getOptionName())
            .append("optionStr", getOptionStr())
            .append("optionInt", getOptionInt())
            .toString();
    }
}
